function plotAllShapeLine(allShape, numberOfShapes)
figure;
hold on;
for i=1:numberOfShapes
    scatter([allShape(1,:,i) allShape(1,1,i)],[allShape(2,:,i) allShape(2,1,i)])
    plot([allShape(1,:,i) allShape(1,1,i)],[allShape(2,:,i) allShape(2,1,i)])
end
hold off;